<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><!-- 声明Thymeleaf的命名空间 -->
<head>
    <meta charset="UTF-8">
    <title>file</title>
</head>
<body>
<form enctype="multipart/form-data" method="post">
    <input name="file" type="file"/>
    <input type="submit" value="上传"/>
</form>
</body>
</html>